#include "lc_op1_Operator.h"

void
op1::handleMyPort(requestTypes::NetRequest * data, unsigned long dataSize)
{
  assert(data != NULL);
  std::cout << "Got data from socket: " << data->getSocketID() << std::endl;
  std::string temp(data->getBuffer());
  std::cout << "Data: " << temp << std::endl;
  assert(data != NULL);
  out(data, dataSize);
  return;
}

void
op1::handleTest(requestTypes::NetRequest * data, unsigned long dataSize)
{

}


requestTypes::NetRequest *
op1::geninRequest() {
    return NULL;
}
requestTypes::NetRequest *
op1::gentestRequest() {
    return NULL;
}
